/*
 * @Author: jqgao2
 * @Date: 2022-03-17 15:00:56
 * @LastEditTime: 2022-03-30 14:42:15
 * @Description: 文件相关接口
 * @FilePath: \ns-doc-web\src\api\user.js
 * @LastEditors: jqgao2
 */
import axios from '@/libs/api.request'

const baseUrl = '/backend-template/system'


export function userLogin (data) {
  return axios.request({
    url: `${baseUrl}/userLogin`,
    data,
    method: 'post'
  })
}

export function getAppRouter () {
  return axios.request({
    url: `${baseUrl}/getAppRouter`,
    method: 'get'
  })
}

export function userLogout (tken) {
  return axios.request({
    url: `${baseUrl}/userLogout`,
    method: 'get'
  })
}
